* {
  padding: 0;
  margin: 0;
  border: 0 none;
  box-sizing: border-box;
}

// 清浮动
.clearfix {
  zoom: 1
}

.clearfix:after {
  content: " ";
  clear: both;
  font-size: 0;
  line-height: 0;
  height: 0;
  display: block;
  visibility: hidden;
}

a {
  color: #606060;
  text-decoration: none;
}

a:hover {
  color: #606060;
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

input,
textarea {
  outline: 0 none;
  border: 0 none;
}

textarea {
  font-family: system-ui;
}

button {
  outline: 0 none;
  border: 0 none;

  &:focus {
    outline: 0;
  }
}



ul,
ol,
li {
  list-style: none;
  margin: 0;
}

dl,
dd,
dt {
  margin: 0;
  padding: 0;
}

img {
  border: 0 none;
  vertical-align: middle
}

em {
  font-style: normal
}

b,
strong {
  font-weight: 500
}

html,
body {
  height: 100%;
  width: 100%;
  background: #f4f4f4;
  box-sizing: border-box;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

/* placeh 颜色 */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: #BDBDBD;
  letter-spacing: -0.34px;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: #BDBDBD;
  letter-spacing: -0.34px;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: #BDBDBD !important;
  letter-spacing: -0.34px;
}

input:-o-input-placeholder,
textarea:-o-input-placeholder {
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: #BDBDBD;
  letter-spacing: -0.34px;
}

// input:-webkit-autofill,
// textarea:-webkit-autofill,
// select:-webkit-autofill {
//     -webkit-box-shadow: 0 0 0 1000px transparent inset;
// }
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 100px white inset;
  -webkit-text-fill-color: #333;
  box-shadow: 0 0 0px 100px white inset;
  // text-fill-color: #fff !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: color 99999s ease-out, background-color 99999s ease-out;
  -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
  -o-transition: color 99999s ease-out, background-color 99999s ease-out;
  -ms-transition: color 99999s ease-out, background-color 99999s ease-out;
  -moz-transition: color 99999s ease-out, background-color 99999s ease-out;
  transition-delay: 99999s;
  -webkit-transition-delay: 99999s;
  -o-transition-delay: 99999s;
  -ms-transition-delay: 99999s;
  -moz-transition-delay: 99999s;
}

input {
  filter: none !important;
}

//滚动条的滑块
//  备选方案。除火狐外浏览器兼容
//滚动条的宽度
::-webkit-scrollbar {
  width: 8px;
  height: 8px;

}

//滚动条的滑块
::-webkit-scrollbar-thumb {
  background-color: #a1a3a9;
  border-radius: 4px;
}

::-moz-scrollbar-thumb {
  background-color: #a1a3a9;
  border-radius: 4px;
}

::-ms-scrollbar-thumb {
  background-color: #a1a3a9;
  border-radius: 4px;
}

::-o-scrollbar-thumb {
  background-color: #a1a3a9;
  border-radius: 4px;
}

// 公共样式
.flex {
  display: flex;
}